package com.mazaiting.course;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/***
 * 应用入口
 * @author mazaiting
 * @datetime 2022/3/7
 */
@SpringBootApplication
public class CourseApplication extends SpringBootServletInitializer {

    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        return builder.sources(CourseApplication.class);
    }

    public static void main(String[] args) {
        SpringApplication.run(CourseApplication.class, args);
    }
}
